package com.xuchaotong.service.impl;

import com.xuchaotong.service.LifeCycleService;
import org.springframework.beans.factory.InitializingBean;

public class LifeCycleServiceImpl implements LifeCycleService,InitializingBean{

    public LifeCycleServiceImpl() {
        System.out.println("LifeCycleServiceImpl Construct method...");
    }

    @Override
    public void cycle() {
        System.out.println("cycle method....");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("afterPropertiesSet method...");
    }

    public void init(){
        System.out.println("init method....");
    }
}
